package com.marsoft.test.service.impl;

import com.marsoft.test.entity.GeneralGurantyContractEntity;
import com.marsoft.test.mapper.GuarantyContractMapper;
import com.marsoft.test.service.GuarantyContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FAN_c
 * @date 2021/5/13 14:52
 * @description
 */

@Service
public class GuarantyContractServiceImpl implements GuarantyContractService {


    @Autowired
    private GuarantyContractMapper guarantyContractMapper;

    @Override
    public GeneralGurantyContractEntity findGuarantyContractByNo(Integer guarantyContractNo) {

        GeneralGurantyContractEntity generalGurantyContractEntity = guarantyContractMapper.findGuarantyContractByNo(guarantyContractNo);

        return generalGurantyContractEntity;
    }
}
